import type { RouteRecordRaw } from 'vue-router'

const finance: RouteRecordRaw = {
  name: 'finance',
  path: '/finance',
  meta: {
    title: '财务',
    icon: 'icon-park-outline:jewelry',
   },
  redirect: '/finance/notice',
  children: [
    {
        name: 'finance:fund',
        path: '/finance/fund',
        meta: {
          title: '客户资金明细',
          icon: 'mingcute:dashboard-line',
        },
        component: () => import('~/base/views/finance/fund/index.vue'),
      },
      {
        name: 'finance:commission',
        path: '/finance/commission',
        meta: {
          title: '客户佣金明细',
          icon: 'mingcute:dashboard-line',
        },
        component: () => import('~/base/views/finance/commission/index.vue'),
      },
     
      {
        name: 'finance:record',
        path: '/finance/record',
        meta: {
          title: '在线充值记录',
          icon: 'mingcute:dashboard-line',
        },
        component: () => import('~/base/views/finance/record/index.vue'),
      },
      {
        name: 'finance:cecharge',
        path: '/finance/cecharge',
        meta: {
          title: '提现记录管理',
          icon: 'mingcute:dashboard-line',
        },
        component: () => import('~/base/views/finance/cecharge/index.vue'),
      },
     
   
   
    
     
     
    
  ],
}

export default finance
